<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <style>
        body {
            width: 100%;
            height: 100%;
            font-size: 12px;
            font-family: "宋体";
            font-size: 12px;
            line-height: 18px;
        }
        #header {
            width: 980px;
            margin:20px auto;
        }
        #main{
            width: 917px;
            height: 450px;
            margin-top: 5px;
            border-bottom: solid 1px #d5d5d5;
            padding-bottom: 20px;
            position: relative;
        }
        #main  .loginbg {
            width: 359px;
            height: auto;
            overflow: hidden;
            background: url('image/loginbg.png') repeat;
            display: block;
            float: right;
            margin: 25px 0 0;
            position: absolute;
            right: 0;
            top: 0;
        }
        .login_register {
            width: 339px;
            height: auto;
            overflow: hidden;
            background: #fff;
            margin: 10px;
        }
        .logintit {
            width: 100%;
            height: 38px;
            overflow: hidden;
            line-height: 38px;
            background: url('image/logintitbg.jpg') repeat-x;
            color: #fff;
            font-family: '微软雅黑';
            font-size: 20px;
            font-weight: 300;
            text-align:center;
        }
        #content{
            width: 337px;
            height: auto;
            overflow: hidden;
            border: solid 1px #c8c8c8;
            border-top: none;
            position: relative;
            padding-bottom: 40px;
        }
        .tabs {
            width: 100%;
            height: 37px;
            overflow: hidden;
            line-height: 37px;
            background: url('image/login_tabs.jpg') no-repeat;
        }
        .loginbg_tabs2 {
            background-position: 0 -53px;
        }
        .loginbg_tabs1 {
            background-position: 0 0;
        }
        #content .tabs a {
            width: 168px;
            color: #333;
            text-decoration: none;
            cursor: pointer;
            text-align:center;
            font-weight:bold;
        }
        .fleft {
            float: left;
            display: inline;
        }
        .fright {
            float: right;
            display: inline;
        }
        .errorTips {
            width: 251px;
            height: 28px;
            line-height: 30px;
            background: #ffffe1;
            border: solid 1px #ffd67a;
            position: absolute;
            left: 42px;
            top: 42px;
        }
        .errorTips span {
            width: 15px;
            height: 15px;
            overflow: hidden;
            display: block;
            margin: 7px 5px 0 5px;
            background: url('image/login_ico.gif') 0 -184px no-repeat;
        }
        .errorTips b {
            width: 9px;
            height: 6px;
            overflow: hidden;
            display: block;
            position: absolute;
            top: 28px;
            left: 26px;
            background: url('image/login_ico.gif') 0 -80px no-repeat;
        }
        .item{
            width: 253px;
            height: auto;
            overflow: hidden;
            margin: 0 auto;
        }
        #login .input_text {
            margin-bottom: 20px;
            position: relative;
            background: url('image/bg.gif') 0 -325px no-repeat;
            width: 253px;
            height: 34px;
            display: inline-block;
            float: left;
        }
        .user_id .userNa {
            background-position: 0 3px;
        }
        .user_id .userPa {
            background-position: 0 -16px;
        }
        .user_id span {
            width: 17px;
            height: 20px;
            overflow: hidden;
            background: url('image/login_ico.gif') no-repeat;
            display: block;
            margin: 3px 0 0 6px;
        }
        #login,#register{
            padding-top: 40px;
        }
        #login .input_text .user_id {
            width: 30px;
            height: 30px;
            overflow: hidden;
            margin-top: 3px;
        }

        #login .input_text input {
            border: none;
            border: 0;
            width: 220px;
            height: 30px;
            margin-top: 3px;
            color: #555;
            font-weight: normal;
            line-height: 30px;
            position: absolute;
            background-color: transparent;
            top: 0;
            left: 30px;
        }
        .fs14 {
            font-size: 14px;
        }
        a.btnLogin {
            padding-left: 106px;
        }
        a.btnLogin {
            padding-left: 107px;
            margin-bottom: 7px;
        }
        a.btn_10 {
            background: url('image/bg.gif') 0 0 no-repeat;
            padding-left: 22px;
            display: inline-block;
            height: 40px;
            line-height: 40px;
            vertical-align: middle;
            text-decoration: none;
            cursor: pointer;
        }
        a.btn_10:hover {
            background: url('image/bg.gif') 0 -41px no-repeat;
            text-decoration: none;
            cursor: pointer;
        }
        a.btnLogin {
            padding-left: 107px;
            margin-bottom: 7px;
        }
        a.btnLogin span {
            padding-right: 106px;
        }
        a.btn_10:hover span {
            background: url('image/bg.gif') right -41px no-repeat;
            text-decoration: none;
            cursor: pointer;
        }
        a.btn_10 span {
            border: none;
            color: #fff;
            cursor: pointer;
            display: inline-block;
            font-family: "微软雅黑";
            font-size: 20px;
            height: 40px;
            padding: 0 22px 0 0px;
            background: url('image/bg.gif') right 0 no-repeat;
            float: left;
            line-height: 40px;
            text-decoration: none;
        }
        a.btn_10 span {
            border: none;
            color: #fff;
            cursor: pointer;
            display: inline-block;
            font-family: "微软雅黑";
            font-size: 20px;
            height: 40px;
            padding: 0 22px 0 0px;
            background: url('image/bg.gif') right 0 no-repeat;
            float: left;
            line-height: 40px;
            text-decoration: none;
        }
        a.btnLogin {
            padding-left: 106px;
        }
        a.btnLogin span {
            padding-right: 106px;
        }
        #register{
            width: 253px;
            overflow: hidden;
            height: auto;
            margin: 0 auto;
        }
        #register .input_text{
            margin-bottom: 20px;
            position: relative;
            width: 253px;
            height: 16px;
            display: inline-block;
            float: left;
        }
        #footer{
            width: 100%;
            height: auto;
            overflow: hidden;
            padding: 25px 0 58px;
        }
        #footer p{
            text-align: center;
            color: #999;
            line-height: 150%;
        }
        #footer p span{
            font-family: Arial;
        }
    </style>
</head>
<body>
    <div id="header">
        <p><img src="image/login_logo.png"></p>
        <div id="main">
            <a href="home.html"><img src="image/loginbg.jpg"/></a>
            <div class="loginbg">
                <div class="login_register">
                    <div class="logintit">空中网通行证</div>
                    <div id="content">
                        <!--tabs-->
                        <div class="tabs loginbg_tabs1">
                            <a id="loginBtn" class="fleft fs14">登录</a>
                            <a id="registerBtn" class="fright fs14">注册</a>
                        </div>
                        <!--提示框-->
                        <div class="errorTips" style="display: none;" id="tip"><span class="fleft"></span><div></div><b></b></div>
                        <!--登录-->
                        <div class="item" id="login" style="display: block;">
                            <div class="input_text">
                                <div class="user_id fleft"><span class="userNa"></span></div>
                                <input type="text" class="fs14 fleft" placeholder="请输入账号" id="login_uname">
                            </div>
                            <div class="input_text">
                                <div class="user_id fleft"><span class="userPa"></span></div>
                                <input type="password" placeholder="请输入密码" id="login_upwd">
                            </div>
                            <a class="btn_10 btnLogin" id="login_btn"><span><b></b>登录</span></a>
                        </div>
                        <!--注册-->
                        <div id="register" class="item" style="display: none;">
                            <div class="input_text">
                                <div class="fleft"><span>设置用户名：</span></div>
                                <input type="text"  class="fs14 fleft" placeholder="请输入手机号或邮箱号" id="register_uname">
                            </div>
                            <div class="input_text">
                                <div class="fleft"><span>&nbsp;设置密码：</span></div>
                                <input type="password" placeholder="请输入由6到10位数字或字母组成的密码" id="register_upwd1">
                            </div>
                            <div class="input_text">
                                <div class="fleft"><span>&nbsp;确认密码：</span></div>
                                <input type="password" placeholder="请确认密码" id="register_upwd2">
                            </div>
                            <a class="btn_10 btnLogin" id="register_btn"><span><b></b>注册</span></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="footer">
            <p><span>COPYRIGHT&nbsp;©&nbsp;1998 – 2017 KONGZHONG. ALL RIGHTS RESERVED. </span>空中网版权所有</p>
            <p>京ICP证020001号&nbsp;京网文[2011]0467–160号&nbsp;经营许可证编号:B2–20090197</p>
        </div>
    </div>
    <script src="js/jquery-1.11.3.js"></script>
    <script src="js/login_register.js"></script>
</body>
</html>